import request from '../utils/request'

const prefix = ''

export async function login(params) {
  return request(prefix + '/login', {
    method: 'POST',
    body: params,
  })
}

export async function logout(params) {
  return request(prefix + '/logout', {
    method: 'POST',
    body: params,
  })
}
